<?php
/**
 * Development environment config
 *
 * @category  Yii Template
 * @author    Dmitry Konovalchuk <konovalchuk@ebola.com.ua>
 * @copyright 2013 Ebola Communications
 * @link      http://www.ebola.com.ua/
 */
return array(
    'components' => array(
        'db' => array(
            'connectionString'   => 'mysql:host=localhost;dbname=websockets-test',
            'username'           => 'root',
            'password'           => '',
            'enableProfiling'    => true,
            'enableParamLogging' => true,
        ),
        'urlManager' => array(
            'rules' => array(
                'processMessage' => 'nginxPool/processMessage',
            ),
        ),
/*        'clientScript' => array(
            'packages' => array(
                'websocketjs' => array(
                    'basePath' => 'ext.web-socket-js',
                    'baseUrl'  => 'web-socket-js',
                    'js'       => array('swfobject.js', 'web_socket.js'),
                ),
            ),
        ),*/
/*        'debug' => array(
            'class' => 'vendor.yii2-debug.Yii2Debug',
        ),*/
    ),
/*    'modules' => array(
        'gii' => array(
            'class'    => 'system.gii.GiiModule',
            'password' => 'gii',
        ),
    ),*/
    // 'preload' => array('debug'),
);
